namespace 个人博客.SqlViews
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class Blogs_Account
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public Blogs_Account()
        {
            Blogs_Jurisdiction = new HashSet<Blogs_Jurisdiction>();
            Blogs_personalInformation = new HashSet<Blogs_personalInformation>();
            Blogs_reply = new HashSet<Blogs_reply>();
            Blogs_talk = new HashSet<Blogs_talk>();
        }

        [Key]
        public int acc_number { get; set; }

        [Required]
        [StringLength(32)]
        public string acc_gmail { get; set; }

        [Required]
        [StringLength(16)]
        public string acc_pwd { get; set; }

        [Required]
        [StringLength(16)]
        public string acc_name { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Blogs_Jurisdiction> Blogs_Jurisdiction { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Blogs_personalInformation> Blogs_personalInformation { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Blogs_reply> Blogs_reply { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Blogs_talk> Blogs_talk { get; set; }
    }
}
